nodeOptions

var nodeOptions: dynamic

An Object which can contain additional configuration options that should get passed to node-fetch.

For example, this can be used to configure a custom Agent:

HttpClient(Js) {
    engine {
        val agentOptions = js("Object").create(null)
        agentOptions.minVersion = "TLSv1.2"
        agentOptions.maxVersion = "TLSv1.3"
        nodeOptions.agent = Agent(agentOptions)
    }
}